package com.iengoo.inductionms.enums;

public enum  ExceptionMessage {
    USERNAME_IS_NOT_EXIST(-1001,"用户信息不存在"),
    PASSWORD_IS_NOT_CORRECT(-1002,"密码不正确"),
    USER_NOT_ENABLED(-1003,"账号未激活"),

    ;

    ExceptionMessage(Integer code,String desc){
        this.code=code;
        this.desc=desc;
    }
    /**
     * 错误代码与描述
     */
    private Integer code;
    private String desc;

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
